package com.blog.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @ClassName ProductProperties
 * @Destription 配置中心里面的值
 * @Author 天堂小野花
 * @Date 2025/8/1  13:52
 * @Version 1.0
 */
@Data
@ConfigurationProperties(prefix = "product")//无需@RefreshScope就能实现自动刷新
@Component
public class ProductProperties {
    String timeOut;
    String autoConfirm;
    String databaseUrl;
}
